FROM ubuntu:latest
RUN sed -i s@/archive.ubuntu.com/@/mirrors.aliyun.com/@g /etc/apt/sources.list\
    && sed -i s@/security.ubuntu.com/@/mirrors.aliyun.com/@g /etc/apt/sources.list\
    && apt-get update -y\
    && apt-get upgrade -y

RUN apt-get install -y snap\
    && snap install -y nodejs\
    && snap install -y npm\
    && snap install -y curl \
    && npm install -g nrm  \
    && nrm use taobao \
    && curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash \
    && nvm  \
    && nvm install 16.16.0 \

